<template>
  <el-select
    v-model="model[modelName]"
    :placeholder="placeholder"
    :multiple="multiple"
    :disabled="disabled"
    :size="size"
    :clearable="clearable"
    :collapse-tags="collapseTags"
    :collapse-tags-tooltip="collapseTagsTooltip"
    :multiple-limit="multipleLimit"
    :effect="effect"
    :autocomplete="autocomplete"
    :filterable="filterable"
    :filter-method="filterMethod"
    :loading="loading"
    :loading-text="loadingText"
    :no-data-text="noDataText"
    :popper-class="popperClass"
    :clear-icon="clearIcon"
    :placement="placement"
  >
    <el-option
      v-for="(item, index) in optionArr"
      :key="index"
      :label="item.label"
      :value="item.value"
    />
  </el-select>
</template>

<script>
import props from "./props";
export default {
  mixins: [props],
};
</script>

<style lang="scss" scoped></style>
